<template>
    <div class="login-all-box">
        <div class="title-box">
            <img src="../assets/images/logo.png" alt="logo" title="logo" class="logo">
            <span class="title">高校调查问卷管理系统</span>
        </div>
        <div class="login-box">
            <div class="login-box-item">
                <div class="login-title">用户登录</div>
                <form action="" class="login">
                    <div class="login-item">
                        <input type="text" class="username" placeholder="请输入用户名">
                    </div>
                    <div class="login-item">
                        <input type="password" class="password" placeholder="请输入密码">
                    </div>
                    <div>
                        <button class="login-goLogin button-go">
                            登录
                        </button>
                        <!-- <router-link to="#" class="login-goLogin"> 登录</router-link> -->
                        <!-- <button class="login-goRegister">
                            还没有账户，登记注册
                        </button> -->
                        <router-link to="register" class="login-goRegister button-go"> 还没有账户，点击注册</router-link>
                    </div>
                </form>
            </div>
        </div>
    </div>
</template>
<script>
    import axios from "axios"
    export default {
        data() {
            return {
               username:"",
               password:"",
            }
        },
        methods:{
            goRegister(){
                axios({
                    method:"post",
                    url:"",
                    data:{
                        username:this.username,
                        password:this.password

                    }

                }).then((res)=>{
                  
                })
            }

        }
    }

</script>
<style src="../assets/css/login.css" scoped>
 /* @import "../assets/css/login.css"; */
</style>